<?php

namespace IMT\UserBundle\Controller;

use IMT\UserBundle\Entity\Participant;

use IMT\UserBundle\Entity\Group;

use IMT\AccountBundle\Form\AccountFormType;

use IMT\AccountBundle\Entity\Account;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;


class ParticipantController extends Controller
{
	public function newAction()
	{
		$user = $this->container->get('security.context')->getToken()->getUser();
		$particpant = new Participant();
		
		return $this->render('IMTUserBundle:Account:list_account.html.twig', array(
				'newAccountForm' => $form->createView()
		));
	}
}
